﻿package com.utils {
	
    import flash.events.*;
    import flash.net.URLRequest;
	import flash.net.navigateToURL;
	
	public class GetURL{
		
		public function GetURL(){
		}
		
		public static function getURL(url:String, targetWindow:String = "_blank"):void{
			//trace("GetURL.getURL: " + url) ;
			
			try {
				navigateToURL(new URLRequest("http://www.bebo.com/itdoesnthavetohappen"), '_blank');
			} catch (e:Error) {
				trace("GetURL.getURL: Error occurred!");
			}
			
        }
	}
	
}